package net.oschina.archx.spring.aop;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Archx on 2015/6/16 0016.
 */
public class XmlSchemaAspect {

    final Logger log = LoggerFactory.getLogger(this.getClass());

    public void beforeAdvice(String name) {
        // 前置通知
        log.info("前置通知 ... 传入参数 name={}", name);
    }

    public void afterAdvice(String ret) {
        // 后置通知
        log.info("后置通知 ... 返回结果 ret={}", ret);
    }
}
